# ---------------------------------------------------------------------
# Copyright (c) 2025 Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause
# ---------------------------------------------------------------------

from qai_hub_models.models._shared.ffnet.test_utils import run_test_off_target_numerical
from qai_hub_models.models.ffnet_78s_lowres.demo import main as demo_main
from qai_hub_models.models.ffnet_78s_lowres.model import FFNet78SLowRes
from qai_hub_models.utils.testing import skip_clone_repo_check


@skip_clone_repo_check
def test_off_target_numerical():
    run_test_off_target_numerical(
        FFNet78SLowRes, "segmentation_ffnet78S_BCC_mobile_pre_down"
    )


@skip_clone_repo_check
def test_demo():
    demo_main(is_test=True)
